Optimal. Leaf size=35 \[ \frac{a \log \left (a x^2+b\right )}{2 b^2}-\frac{a \log (x)}{b^2}-\frac{1}{2 b x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0228595, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {263, 266, 44} \[ \frac{a \log \left (a x^2+b\right )}{2 b^2}-\frac{a \log (x)}{b^2}-\frac{1}{2 b x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 263
Rule 266
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{\left (a+\frac{b}{x^2}\right ) x^5} \, dx &=\int \frac{1}{x^3 \left (b+a x^2\right )} \, dx\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{x^2 (b+a x)} \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \left (\frac{1}{b x^2}-\frac{a}{b^2 x}+\frac{a^2}{b^2 (b+a x)}\right ) \, dx,x,x^2\right )\\ &=-\frac{1}{2 b x^2}-\frac{a \log (x)}{b^2}+\frac{a \log \left (b+a x^2\right )}{2 b^2}\\ \end{align*}
Mathematica [A] time = 0.0066605, size = 35, normalized size = 1. \[ \frac{a \log \left (a x^2+b\right )}{2 b^2}-\frac{a \log (x)}{b^2}-\frac{1}{2 b x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 32, normalized size = 0.9 \begin{align*} -{\frac{1}{2\,b{x}^{2}}}-{\frac{a\ln \left ( x \right ) }{{b}^{2}}}+{\frac{a\ln \left ( a{x}^{2}+b \right ) }{2\,{b}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01906, size = 45, normalized size = 1.29 \begin{align*} \frac{a \log \left (a x^{2} + b\right )}{2 \, b^{2}} - \frac{a \log \left (x^{2}\right )}{2 \, b^{2}} - \frac{1}{2 \, b x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.40092, size = 80, normalized size = 2.29 \begin{align*} \frac{a x^{2} \log \left (a x^{2} + b\right ) - 2 \, a x^{2} \log \left (x\right ) - b}{2 \, b^{2} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.529313, size = 31, normalized size = 0.89 \begin{align*} - \frac{a \log{\left (x \right )}}{b^{2}} + \frac{a \log{\left (x^{2} + \frac{b}{a} \right )}}{2 b^{2}} - \frac{1}{2 b x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17323, size = 58, normalized size = 1.66 \begin{align*} -\frac{a \log \left (x^{2}\right )}{2 \, b^{2}} + \frac{a \log \left ({\left | a x^{2} + b \right |}\right )}{2 \, b^{2}} + \frac{a x^{2} - b}{2 \, b^{2} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]